Skip to main content

CI CD

By Srinesh Nisala


Exercise

Pre-requisites


1) Performing actions on Linux

  • echo: Prints text to the console
  • pwd: Current directory we are in
  • ls: List files

2) Replicate these action on GitHub Actions

  • Open the .github/workflows/test.yaml file in Codespaces
  • Add commands to run in the workflow
  • Commit and push the changes

3) Run UI tests in local machine

  • Clone the repository to your local machine
  • Open the project and explain the content
  • Explain the headless mode of UI tests
  • Run gradle test or ./gradle test

4) Run UI tests in GitHub Actions

  • Open the .github/workflows/test.yaml and add test run action
  • Try failing the test

Theory

Introduction to CI/CD